package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_OperationLog")
public class OperationLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 操作类型（0-手动验证1-临时放行）
     */
    @Column(name = "Operation")
    private Integer operation;

    /**
     * 蓄车场号（0 南蓄1 北蓄）
     */
    @Column(name = "ParkingNo")
    private Integer parkingNo;

    /**
     * 车牌号
     */
    @Column(name = "PlateNumber")
    private String plateNumber;

    /**
     * 结果
     */
    @Column(name = "Result")
    private String result;

    /**
     * 用户
     */
    @Column(name = "CreateUser")
    private String createUser;

    /**
     * 创建时间
     */
    @Column(name = "CreateTime")
    private Date createTime;

}
